package com.le.tester.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * createTime：2024-11-28 15:37
 * description：用户信息dao
 */
@Mapper
public interface DistributeLockDao {

    @Select("select lock_name from distribute_lock where lock_name = #{lockName} for update")
    List<String> selectLockName(@Param("lockName") String lockName);
}
